package cn.wolfcode.trip.base.util;

import cn.wolfcode.trip.base.domain.User;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JSONResult {
    private boolean success = true;//默认操作成功
    private String msg;//错误信息
    private Object result;//存入登录用户信息
    public JSONResult mark(String msg){
        success = false;
        this.msg = msg;
        return this;
    }
}
